package com.handsome.适配器模式.接口适配器;

/**
 * @author niechun
 * @date 2023/2/2 21:15
 */
public class Client {
    public static void main(String[] args) {

        AbstractAdapter abstractAdapter = new AbstractAdapter() {
            @Override
            public void method1() {
                System.out.println("只需要实现方法1");
            }
        };

        abstractAdapter.method1();
    }
}
